﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using CashFlow.Db.Entity;
using CashFlow.Admin.Def;

namespace CashFlow.Admin.Service
{
    public interface IAppointmentService : IService<AppointmentEntity>
    {
        IList<UserInfoAndReferenceUserInfo> QueryTeamNotAppointmentUsers(int userId
            , string date);

        IList<UserInfoAndReferenceUserInfo> QueryTeamNotAppointmentUsers(string date);

        IList<UserInfoAndReferenceUserInfo> QueryTeamAppointmentUsers(int userId);

        IList<UserInfoAndReferenceUserInfo> QueryTeamAppointmentUsers();

        IList<AppointmentUserInfoView2> QueryByWhere(int userId, string date);

        IList<AppointmentUserInfoView2> QueryByWhere(string date);
    }
}
